package com.cskaoyan.service.wx;

import com.cskaoyan.bean.MarketOrderGoods;
import com.cskaoyan.bean.bo.WxOrderCommentBO;
import com.cskaoyan.bean.bo.WxOrderListBO;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.WxOrderDetailVO;
import com.cskaoyan.bean.vo.WxOrderListVO;
import com.cskaoyan.bean.vo.WxOrderSubmitVo;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author : gao
 * @since: 2022/10/14  16:44
 */
@Service
public interface WxOrderService {
    CommonData<WxOrderListVO> list(WxOrderListBO wxOrderListBO);

    WxOrderDetailVO detail(Integer orderId);

    void refund(Integer orderId);

    void confirm(Integer orderId);

    void delete(Integer orderId);

    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    void comment(Integer userId, WxOrderCommentBO wxOrderCommentBO);

    void cancel(Integer orderId);

    WxOrderSubmitVo submit(Map map);


    void prepay(Integer orderId);
}
